package com.example;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/testBean")
public class TestBean {

    @RequestMapping("/testDemo")
    public String TestDemo(){
        //上一步创建jsp画面，按住Ctel键，鼠标放在hello上就可以看到jsp文件
        return "hello";
    }
}
